package cn.iocoder.yudao.module.shop.controller.admin.item.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 店铺项目 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ShopItemBaseVO {

    @Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotNull(message = "名字不能为空")
    private String name;

    @Schema(description = "原价", requiredMode = Schema.RequiredMode.REQUIRED, example = "5925")
    @NotNull(message = "原价不能为空")
    private Integer price;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "手工费", requiredMode = Schema.RequiredMode.REQUIRED, example = "58")
    @NotNull(message = "手工费不能为空")
    private Integer handlePrice;

    @Schema(description = "结算支数", requiredMode = Schema.RequiredMode.REQUIRED, example = "58")
    @NotNull(message = "结算支数不能为空")
    private Integer handleCount;

    @Schema(description = "编号", example = "20617")
    private Long id;

    @Schema(description = "商品图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotNull(message = "商品图片不能为空")
    private String picUrl;

    @Schema(description = "时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "30")
    @NotNull(message = "时间不能为空")
    private Integer time;

    @Schema(description = "手工费结算比例", requiredMode = Schema.RequiredMode.REQUIRED, example = "58")
    @NotNull(message = "结算比例不能为空")
    private Integer handleRate;


}
